home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / JEditorPane$PlainEditorKit.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  718 b   |  22 lines

  1. package javax.swing;
  2.  
  3. import javax.swing.text.DefaultEditorKit;
  4. import javax.swing.text.Element;
  5. import javax.swing.text.View;
  6. import javax.swing.text.ViewFactory;
  7. import javax.swing.text.WrappedPlainView;
  8.  
  9. class JEditorPane$PlainEditorKit extends DefaultEditorKit implements ViewFactory {
  10.    public Object clone() {
  11.       return new JEditorPane$PlainEditorKit();
  12.    }
  13.  
  14.    public View create(Element var1) {
  15.       return new WrappedPlainView(var1);
  16.    }
  17.  
  18.    public ViewFactory getViewFactory() {
  19.       return this;
  20.    }
  21. }
  22.